import {createRouter,createWebHashHistory} from "vue-router";

const Layout = import("../layout/index.vue")
const Home = import("../src/views/home/index.vue")
const routes = [
    {
        path:'/',
        name:"layout",
        component: Layout,
        children: [
            {
                path:'',
                component:Home
            }
        ]
    }
]

const router = createRouter({
    history:createWebHashHistory(),
    routes
})

export default router